file(REMOVE_RECURSE "${CPACK_TEMPORARY_DIRECTORY}/")

file(COPY "${CPACK_INSTALL_PREFIX}/bin/" DESTINATION ${CPACK_TEMPORARY_DIRECTORY}/bin)

file(COPY "${CPACK_INSTALL_PREFIX}/share/" DESTINATION ${CPACK_TEMPORARY_DIRECTORY}/share)

# file(REMOVE "${CPACK_TEMPORARY_DIRECTORY}/bin/license.dat")

file(RENAME "${CPACK_TEMPORARY_DIRECTORY}/bin/SGFEM.exe"  "${CPACK_TEMPORARY_DIRECTORY}/bin/DLUTFEM.exe")
